class Config {
  constructor() {
    // this.host = 'http://localhost:8080';
    // this.prefix = '/agent_api/';

    this.host = 'http://192.168.1.12:8080';
    this.prefix = '/agent_api/';

    // 测试环境
    // this.host = 'http://api.a.dev.topeffects.cn/a';
    // this.prefix = '/';

    // 正式环境
    // this.host = 'http://api.a.topeffects.cn/a';
    // this.prefix = '/';

    this.restUrl = this.host + this.prefix;
  }
}
export default new Config()
